<!DOCTYPE HTML>
<html>
<head>
<title>Demo fixed message</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type">

<meta content="index, follow" name="robots">
<meta content="message, fixed" name="keywords">
<meta content="show fixed message" name="description">
<meta content="vinawebgroup.com" name="generator">

<script type="text/javascript" src="js/jquery_v_1.4.js"></script>
<style type="text/css" rel="stylesheet">
  .fixed{
    position: fixed;
    margin: 0;
    padding: 0;
    height: 51px;
    z-index: 9999;
    
    width: 100%;
    background: url('images/succ_bg.png') 0 0 transparent;
    color: #fff;
  }
  
  .center_auto{
    margin: 0 auto;
    
    width: 80%;
  }
  
  .message{
    padding: 15px 0 0 0;
    float: left;
  }
  
  .close_notification{
    float: right;
    padding: 15px 20px 0 0; 
    cursor: pointer;
  }
</style>


<script type="text/javascript">
    closeNotification = function(){
    	  hInfoMessage = $('#info_message').height();
        $('#info_message').animate({
            'height': -hInfoMessage
        });
    }
</script>
</head>

<body>
<div class="fixed" id="info_message">
  <div class='center_auto'>
    <div class="message">Hello all the world</div>    
    
    <div class="close_notification" onclick="closeNotification();">
    close
    </div>
  </div>
</div>
<pre>      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      </pre>
</body>
</html>